Skip to content

Fix CI issues #1215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 15, 2024
Merged

Fix CI issues #1215

merged 5 commits into from
Jan 15, 2024

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Jan 12, 2024

This PR takes care of a number of test failures:

  • no-aws-cred tests were failing due to exception class changing. Instead of the expected AuthenticationException, it now throws an EncryptionException. I don't think the exception class matters for the tests (as the spec only suggests checking for failures, not a specific failure), but I can take a closer look at the reason for the change if necessary.
  • PHPLIB-1327: Index management tests fail on latest due to recent changes. This PR syncs the tests with mongodb/specifications@e54cb7c.
  • PHPLIB-1304: changes for ADL tests were only merged to the main branch, I backported these changes to v1.17 to avoid the system failure. Tests still fail however as we can't connect to the local ADL instance. This is a failure I've seen with other drivers as well and I'm still investigating this for a later fix.

This leaves the serverless tests to fail, which I'm investigating as part of PHPLIB-1303.

The patch build for this PR includes the no-aws-creds tasks that currently fail.

@alcaeus
Copy link
Member Author

alcaeus commented Jan 12, 2024

After some investigation, I've reopened PHPLIB-1307 and fixed the issue where listIndexes sends a readConcern option, which was revealed by the tests.

alcaeus and others added 4 commits January 12, 2024 13:28
This syncs index management tests to mongodb/specifications@e54cb7c.

This commit also includes a new spec test introduced that should've been copied over in PHPLIB-1307.
Invoking shell scripts using sh instead of relying on the shebang causes problems now that drivers-evergreen-tools assumes bash for most of its scripts.
@alcaeus alcaeus force-pushed the fix-ci branch 2 times, most recently from 335e0b8 to f0c4cc5 Compare January 12, 2024 14:13
@GromNaN
Copy link
Member

GromNaN commented Jan 12, 2024

fixed the issue where listIndexes sends a readConcern option, which was revealed by the tests.

I don't see this change in the PR, but tests are green.

@alcaeus
Copy link
Member Author

alcaeus commented Jan 12, 2024

I don't see this change in the PR, but tests are green.

Upon further investigation, I found that libmongoc is always adding the readConcern, even though the Collection class doesn't. I'm skipping that test for the time being until libmongoc fixes the issue or the test is changed.

@alcaeus alcaeus merged commit 4467433 into mongodb:v1.17 Jan 15, 2024
@alcaeus alcaeus deleted the fix-ci branch January 15, 2024 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants